﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="top.aspx.cs" Inherits="top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>头部</title>
    <link href="../Admin/css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body{
            margin:0
        }
    </style>
</head>

<body>
    <table border="0" width="100%" cellspacing="0" cellpadding="0" style="background-image:url(Aimages/top_back.gif);">
  <tr>
    <td width="330px" valign="top"><img  alt="" border="0" src="Aimages/top_logo.gif" height="50px" /></td>
    <td valign="top">
	<table height="30px" border="0" cellspacing="0" cellpadding="0" align="right">
	  <tr>
	    <td>
	      【当前用户:<strong><%=Session["userName"].ToString() %>&nbsp;</strong> 
	      <script language="javascript" type="text/javascript">
	        today=new Date();
	        var day="";
	        var date1="";
	        if(today.getDay()==0)day="星期日"
	        else if(today.getDay()==1)day="星期一"
	        else if(today.getDay()==2)day="星期二"
	        else if(today.getDay()==3)day="星期三"
	        else if(today.getDay()==4)day="星期四"
	        else if(today.getDay()==5)day="星期五"
	        else if(today.getDay()==6)day="星期六";
	        if(today.getYear()>=2000)
	        date1=(today.getYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日 ";else
	        date1=(1900+today.getYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日 ";document.writeln(date1+day)
	      </script>】　&nbsp;
	    </td>
	  </tr>
	</table>
    </td>
  </tr>
</table>
</body>
</html>
